MousePressed

public final static MousePressed MousePressed(Point location, Point locationOnScreen, MouseButton button, KeyModifiers keyModifiers, MouseModifiers mouseModifiers, Integer clickCount)
public final static MousePressed MousePressed(Point location, Point locationOnScreen, MouseButton button, KeyModifiers keyModifiers, MouseModifiers mouseModifiers, Integer clickCount)

Creates a new instance of MousePressed with the given parameters.

Since

8.0.0

Parameters

location

The mouse position relative to the bounds of the browser instance.

locationOnScreen

The mouse position relative to the bounds of the screen.

button

The button that was pressed.

keyModifiers

The keyboard modifiers applied.

mouseModifiers

The mouse modifiers applied.

clickCount

The count of consecutive clicks that happened in a short amount of time.